<!DOCTYPE html>
<?php require './load.php';?>
<html>
    <head>
        <meta charset="utf-8">        
        <title>. : Exercicio 7 : .</title>
        <link href="css/estilo.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div id="painel">
            <div class="container titulo">
                Converter XML para CSV
            </div>
            <div class="container corpo">
                <form method="POST" action="#" enctype="multipart/form-data">
                    <input type="hidden" name="type" value="xml"/>
                    <input name="uploadedfile" type="file" accept=".xml" required="true" />
                    <input type="submit" value="Converter" />
                </form>
            </div>
        </div>
        <div id="painel">
            <div class="container titulo">
                Converter CSV para XML
            </div>
            <div class="container corpo">
                <form method="POST" action="#" enctype="multipart/form-data">
                    <input type="hidden" name="type" value="csv"/>
                    <input name="uploadedfile" type="file" accept=".csv" required="true" />
                    <input type="submit" value="Converter" />
                </form>
            </div>
        </div>
    </body>
</html>